﻿<?PHP
if(!function_exists("__autoload")){ 
	function __autoload($class_name){
		require_once('classes/class_'.$class_name.'.php');
	}
}
$db = new DbConnect('localhost', 'minsus', 'minsu4843', 'minsus');
$db->show_errors();
$apns = new APNS($db);

$apns->newMessage(2);
$apns->addMessageSound('bingbong.aiff');
$apns->addMessageAlert('pushpushbaby');
$apns->addMessageBadge(1);
$apns->queueMessage();
$apns->processQueue();
?>